package inherit;

public class Rectangle extends Shape{
	private int length;
	private int width;
	public Rectangle(int length, int width) {
		super();
		this.length = length;
		this.width = width;
	}
	
	public double getArea(){
		return 1.0*length*width;
	}
}
